#include <ballade/network/ssl_output_stream.h>

namespace Ballade
{
	namespace Network
	{
		SSLOutputStream::SSLOutputStream(SSL* ssl)
		{
			_ssl = ssl;
		}
		
		const int SSLOutputStream::write(char* buf, const int len) const
		{
			return SSL_write(_ssl, buf, len);
		}
	}
}